x=[5,6,7,8]
x.append(666)
print(x)
'''
删除序号为1的数据
删除末尾的数据
'''
x.pop(1)
print(x)
x.pop()
print(x)
x.pop()
print(x)